Interface org.omg.CORBA.Object
All Packages Class Hierarchy This Package Previous Next Index
Interface org.omg.CORBA.Object
- public interface Object
- extends Object
This interface defines a CORBA Object Reference.
A CORBA object reference is a unique handle for a particular
object implemented by a server. Specifically, an object reference
identifies the same object each time the reference is used in a request.
A CORBA object may be denoted by multiple, distinct object references.
Default implementations of the methods in org.omg.CORBA.Object
are provided in org.omg.CORBA.ObjectImpl, which is the base class
for stubs.
- See Also:
- ObjectImpl
-
_create_request(Context, String, NVList, NamedValue)
- The request creation operation for dynamic invocations.
-
_create_request(Context, String, NVList, NamedValue, ExceptionList, ContextList)
- The request creation operation (longer version) for dynamic invocations.
-
_duplicate()
- returns new reference to same object Reference
-
_get_implementation()
- Used to get ImplementationDef
-
_get_interface()
- Used to get InterfaceDef
-
_hash(int)
- Accesses ORB-internal identifier for object reference which does
not change during the lifetime of the object reference and so
neither will any hash function of that identifier.
-
_is_a(String)
- Check if this object supports the interface represented by the argument.
-
_is_equivalent(Object)
- Determines if the two object references are equivalent, so far as the
ORB can easily determine.
-
_non_existent()
- Determines whether the object has been destroyed.
-
_release()
- Indicates that caller is done using object reference so
that internal ORB resources associated with it can be released
_is_a
public abstract boolean _is_a(String identifier) throws SystemException
- Check if this object supports the interface represented by the argument.
- Parameters:
- repositoryIdentifier - the interface
- Returns:
- true if the object reference supports the interface
- Throws: SystemException
- One of a fixed set of CORBA system
exceptions, since the implementation of is_a() may go to the server.
_is_equivalent
public abstract boolean _is_equivalent(Object obj) throws SystemException
- Determines if the two object references are equivalent, so far as the
ORB can easily determine.
- Returns:
- true if target object reference is known to be equivalent to
other object reference passes as parameter, false otherwise.
A false only indicates that the two object references are
distinct, not necessarily that they reference distinct objects.
_non_existent
public abstract boolean _non_existent() throws SystemException
- Determines whether the object has been destroyed.
- Returns:
- true if ORB knows authoritatively that the object does not exist,
false otherwise
_hash
public abstract int _hash(int max) throws SystemException
- Accesses ORB-internal identifier for object reference which does
not change during the lifetime of the object reference and so
neither will any hash function of that identifier.
- Parameters:
- max - specifies an upper bound on the hash value returned by
the ORB.
- Returns:
- ORB-internal identifier for object reference
_duplicate
public abstract Object _duplicate() throws SystemException
- returns new reference to same object Reference
_release
public abstract void _release()
- Indicates that caller is done using object reference so
that internal ORB resources associated with it can be released
_get_implementation
public abstract ImplementationDef _get_implementation()
- Used to get ImplementationDef
- Returns:
- ImplementationDef Object in Implementation Repository that
describes implementation of the current object
_get_interface
public abstract InterfaceDef _get_interface()
- Used to get InterfaceDef
- Returns:
- InterfaceDef object in Interface repository which provides
type information about current object
_create_request
public abstract Request _create_request(Context ctx,
String operation,
NVList arg_list,
NamedValue result) throws SystemException
- The request creation operation for dynamic invocations.
- Parameters:
- ctx - The context to be used.
- operation - The name of the operation to be
invoked.
- arg_list - The arguments to the operation in the
form of an NVList.
- result - A container for the result as a NamedValue.
- Returns:
- The created request object.
- See Also:
- Request, NVList, NamedValue
_create_request
public abstract Request _create_request(Context ctx,
String operation,
NVList arg_list,
NamedValue result,
ExceptionList exclist,
ContextList ctxlist) throws SystemException
- The request creation operation (longer version) for dynamic invocations.
- Parameters:
- ctx - The context to be used.
- operation - The name of the operation to be
invoked.
- arg_list - The arguments to the operation in the
form of an NVList.
- result - A container for the result as a NamedValue.
- exclist - A list of possible exceptions the
operation can throw.
- ctxlist - A list of context strings that need
to be resolved and sent with the
request.
- Returns:
- The created request object.
- See Also:
- Request, NVList, NamedValue, ExceptionList, ContextList
All Packages Class Hierarchy This Package Previous Next Index